home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1199 / 1702 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  2.4 KB

  1. From: evanlang@uss.lonestar.org (Evan Langlois)
  2. Subject: Alignment
  3. Date: Thu, 14 Jul 1994 12:25:00 -0500 (CDT)
  4.  
  5.  
  6. First, sorry if I shouldn't be posting to the net from this account.  Normally,
  7. I post under ekl@sdf.lonestar.org, but that site has been getting flakey so
  8. I've been trying to subscribe from here.  So far nothin', but teh other site
  9. crashed I need to ask a major question.
  10.  
  11. If I cast a const char * such as "MiNT" or "LIVE" to a long *, shouldn't
  12. the compiler store the string so that it is aligned to a long boundary?
  13. Otherwise, when trying to read the long at that address, it could be on
  14. an odd address, and the machine dies.
  15.  
  16. Lately, that is the way I've been reading strings to compare to cookie tags.
  17. It has always worked, but when I changed main.c in mint, it crashes and I'm
  18. pretty sure its because the 68K can't read a long from an odd address.  Is
  19. this a bug in the compiler, or is such a cast simply bad programming?  If
  20. this is a bug in 2.4.5 and it will work in 2.5.8, then lemme know and I can
  21. post the diffs for the cookie jar call and DOM_X (partially implemented).
  22.  
  23. Also, MINIX.XFS is still acting weird.  I can't say if addroottimeout is
  24. at fault or if MINIX.XFS PL10 is buggy, or MINIX just gets messed up when
  25. you have ZONE 0 COUNT 1 (whatever that means.  Minix reports the error and
  26. fsck CANNOT fix it.  It trashed a floppy too - says it cannot access large
  27. partition A:  When I try to fsck: it I get set_size BUS ERROR and that's
  28. it.  Its a pain since every so often my files will grow blocks of nulls
  29. where the data should be, and if I then delete that file, I get errors 
  30. about removing an already free zone .. or already free inode or something.
  31. Any file I modify on my Minix partition may actually be crunched.  This
  32. has been happeneing ever since I changed to Mint 1.10 (which had addrootimeout)
  33. but I switch to PL10 of Minix xfs before that, so I think it has to do with
  34. addrootimeout.  Can I switch back to PL9 without losing data?  Or compile
  35. PL10 to use the update daemon again?  Before Minix was my most stable
  36. partition, now its the worst!
  37.  
  38. I have code for file cookie caching too.  If I ever get 2.5.8 set up again
  39. I'll work on it (I just need part ad of the archive and BART is ignoring me).
  40.  
  41. Oh .. my crashing MiNT compiles with only 1 warning, and that is about altsize
  42. being used uninitialized in mem.c (and that is a bogus warning anyway).
  43.  
  44. Many Thanks.
  45.  
  46.  
  47.